package com.eujian.nacosprovider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping
@RestController
public class ProviderController {
    @GetMapping("/action")
    public String action(@RequestParam("action") String action){
        return "这个是provider的："+action;
    }
}
